package com.gao.dto;

import com.mybatisflex.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnswerDto {

  private Integer id;
  private String comment;
  private String consultationId;
  private Integer userId;
  private String userName;
  private String status;
  @Column(onInsertValue = "now()")
  private LocalDateTime createTime;
  @Column(onUpdateValue = "now()")
  private LocalDateTime updateTime;

}
